package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;



@TableName("wenwuwaijie")
public class WenwuwaijieEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public WenwuwaijieEntity() {
		
	}
	
	public WenwuwaijieEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
    private Long id;
	/**
	 * 艺术品编号
	 */
					
	private String wenwubianhao;
	
	/**
	 * 艺术品名称
	 */
					
	private String wenwumingcheng;
	
	/**
	 * 艺术品分类
	 */
					
	private String wenwufenlei;
	
	/**
	 * 朝代
	 */
					
	private String chaodai;
	
	/**
	 * 外借人
	 */
					
	private String waijieren;
	
	/**
	 * 外借时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date waijieshijian;
	
	/**
	 * 归还时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date guihaishijian;
	
	/**
	 * 外借地址
	 */
					
	private String waijiedizhi;
	
	/**
	 * 外借说明
	 */
					
	private String waijieshuoming;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：艺术品编号
	 */
	public void setWenwubianhao(String wenwubianhao) {
		this.wenwubianhao = wenwubianhao;
	}
	/**
	 * 获取：艺术品编号
	 */
	public String getWenwubianhao() {
		return wenwubianhao;
	}
	/**
	 * 设置：艺术品名称
	 */
	public void setWenwumingcheng(String wenwumingcheng) {
		this.wenwumingcheng = wenwumingcheng;
	}
	/**
	 * 获取：艺术品名称
	 */
	public String getWenwumingcheng() {
		return wenwumingcheng;
	}
	/**
	 * 设置：艺术品分类
	 */
	public void setWenwufenlei(String wenwufenlei) {
		this.wenwufenlei = wenwufenlei;
	}
	/**
	 * 获取：艺术品分类
	 */
	public String getWenwufenlei() {
		return wenwufenlei;
	}
	/**
	 * 设置：朝代
	 */
	public void setChaodai(String chaodai) {
		this.chaodai = chaodai;
	}
	/**
	 * 获取：朝代
	 */
	public String getChaodai() {
		return chaodai;
	}
	/**
	 * 设置：外借人
	 */
	public void setWaijieren(String waijieren) {
		this.waijieren = waijieren;
	}
	/**
	 * 获取：外借人
	 */
	public String getWaijieren() {
		return waijieren;
	}
	/**
	 * 设置：外借时间
	 */
	public void setWaijieshijian(Date waijieshijian) {
		this.waijieshijian = waijieshijian;
	}
	/**
	 * 获取：外借时间
	 */
	public Date getWaijieshijian() {
		return waijieshijian;
	}
	/**
	 * 设置：归还时间
	 */
	public void setGuihaishijian(Date guihaishijian) {
		this.guihaishijian = guihaishijian;
	}
	/**
	 * 获取：归还时间
	 */
	public Date getGuihaishijian() {
		return guihaishijian;
	}
	/**
	 * 设置：外借地址
	 */
	public void setWaijiedizhi(String waijiedizhi) {
		this.waijiedizhi = waijiedizhi;
	}
	/**
	 * 获取：外借地址
	 */
	public String getWaijiedizhi() {
		return waijiedizhi;
	}
	/**
	 * 设置：外借说明
	 */
	public void setWaijieshuoming(String waijieshuoming) {
		this.waijieshuoming = waijieshuoming;
	}
	/**
	 * 获取：外借说明
	 */
	public String getWaijieshuoming() {
		return waijieshuoming;
	}

}
